The code is not working, because it is excluded by using /* (this means, start of the exclude) and */ (this means, end of the exlude).
Also good to know, to exclude a single line, just put a # in front of it and Lapper will ignore that line.
Removing the # will enable it again.
So by removing the start and ending of the exclude, that code should start to work and should look like this:
<?php
$OnIdleTimeout1 = 60; # Idle timeout for OnIdleAction1 in seconds
Event OnIdle1( $userName ) # Player event
UserGroupFromFile( "idleExempt", "./idleexempt.txt" );
IF( UserInGroup( "idleExempt",$userName ) == 0 )
THEN
privMsg( langEngine( "%{main_idle1}%" ) );
ENDIF
EndEvent
$OnIdleTimeout2 = 120; # Idle timeout for OnIdleAction2 in seconds
Event OnIdle2( $userName ) # Player event
UserGroupFromFile( "idleExempt", "./idleexempt.txt" );
IF ( UserInGroup( "idleExempt",$userName ) == 0 )
THEN
cmdLFS ( "/spec " . GetCurrentPlayerVar("Nickname") );
privMsg ( langEngine( "%{main_idle2}%" ) );
ENDIF
EndEvent
?>